package org.hao.samples.service;

import java.io.InputStream;
import java.util.List;

import org.hao.samples.model.PagerModel;
import org.hao.samples.model.Role;
import org.hao.samples.model.Student;
import org.hao.samples.model.StudentVO;

public interface StudentService {

	public List<Student> findAllStudent();

	public void createStudent(Student student) throws Exception;

	public Student getUserById(Integer id);

	public void editStudent(Student student) throws Exception;

	public void deleteStudent(Integer id) throws Exception;

	public void saveStudentByExcel(InputStream is, String postfix) throws Exception;

	public Role findRoleById(Integer user_id);
	
	public List<StudentVO> findAllStudentVO();

	public void createStudent(StudentVO studentvo) throws Exception;
	
	public void editStudentVO(StudentVO studentvo) throws Exception;

	public PagerModel<StudentVO> findAllByPage();

}
